<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo ($title); ?></title>
<meta name="keywords" content="<?php echo ($keyword); ?>">
<meta name="description" content="<?php echo ($description); ?>">
<link rel="stylesheet" type="text/css" href="../Public/home/css/style.css" />
<link rel="stylesheet" type="text/css" href="../Public/home/css/gaiban_0808.css" />
<link rel="stylesheet" type="text/css" href="../Public/home/css/yuanxiaoku.css" />
<script type="text/javascript" src="../Public/js/jq.js"></script>
<script type="text/javascript" language="javascript" src="../Public/home/img/index.js"></script>
<script>
$().ready(function(){
	$('.address').attr('value','<?php echo $_GET["address"];?>');
	$('.belonging').attr('value','<?php echo $_GET["belonging"];?>');
	$('.typeofinstitution').attr('value','<?php echo $_GET["typeofinstitution"];?>');
	$('.banxue').attr('value','<?php echo $_GET["banxue"];?>');
	$('.education').attr('value','<?php echo $_GET["education"];?>');
})
function yuanxiao_chk()
{
	s = '';
	if($('.yxname').val()=='请输入院校名' || $('.yxname').val() =='')
	{
		s+='请输入院校名称\n';	
		$('.yxname').val('请输入院校名');	
	}
	$('.yuanxiao select').each(function()
	{
		if($(this).val()=='-1')
		{
			s +='请输入'+$(this).children().eq(0).text()+'\n';
		}
	});

	if(s !='')
	{
		alert(s);
		return false;
	}
	return false;
}

</script>
</head>
<body>
	<!--top-->
	
	<!--main-->
	<div class="main">

		<div class="cxxt">
			<div class="xt_t">高校查询系统</div>
			<div class="xt_nr">
				<span> <strong>按院校查询</strong>
					<form action="" method="post" class="yuanxiao" onsubmit="return yuanxiao_chk()">
						<input type="text" name="schoolname" class="yxname" value="请输入院校名" /> 
						<select	name="address" class="address"><option value="-1">院校所在地</option>
							<?php if(is_array($address)): $i = 0; $__LIST__ = $address;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): ++$i;$mod = ($i % 2 )?><option value="<?php echo ($key); ?>" ><?php echo ($vo); ?></option><?php endforeach; endif; else: echo "" ;endif; ?>
						</select> 
						<select name="belonging"><option value="-1">院校隶属</option>
						<?php if(is_array($lvshu)): $i = 0; $__LIST__ = $lvshu;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): ++$i;$mod = ($i % 2 )?><option value="<?php echo ($key); ?>"><?php echo ($vo); ?></option><?php endforeach; endif; else: echo "" ;endif; ?>
						</select>
						<select name="typeofinstitution"><option value="-1">院校类型</option>
						<?php if(is_array($yuanxiao)): $i = 0; $__LIST__ = $yuanxiao;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): ++$i;$mod = ($i % 2 )?><option value="<?php echo ($key); ?>"><?php echo ($vo); ?></option><?php endforeach; endif; else: echo "" ;endif; ?></select>
						<select	name="banxue"><option value="-1">办学类型</option>
						<?php if(is_array($banxue)): $i = 0; $__LIST__ = $banxue;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): ++$i;$mod = ($i % 2 )?><option value="<?php echo ($key); ?>"><?php echo ($vo); ?></option><?php endforeach; endif; else: echo "" ;endif; ?>
						</select>
						<!-- 这是神马东西？ -->
						<select disabled="disabled" name=""><option>院校举办者</option></select>
						<select	name="education"><option value="-1">学历层次</option>
						<?php if(is_array($education)): $i = 0; $__LIST__ = $education;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): ++$i;$mod = ($i % 2 )?><option value="<?php echo ($key); ?>"><?php echo ($vo); ?></option><?php endforeach; endif; else: echo "" ;endif; ?>
						</select><input type="image"
							src="../Public/home/img/yuanxiaoku_02.jpg" />
					</form>

				</span> <span> <strong>按专业查询</strong>
					<form action="" method="post">
						<input type="text" name="specialityname" value="请输入专业名" />
						<select	name="address" class="address"><option value="-1">院校所在地</option>
							<?php if(is_array($address)): $i = 0; $__LIST__ = $address;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): ++$i;$mod = ($i % 2 )?><option value="<?php echo ($key); ?>" ><?php echo ($vo); ?></option><?php endforeach; endif; else: echo "" ;endif; ?>
						</select> 
						<select name="belonging"><option value="-1">院校隶属</option>
						<?php if(is_array($lvshu)): $i = 0; $__LIST__ = $lvshu;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): ++$i;$mod = ($i % 2 )?><option value="<?php echo ($key); ?>"><?php echo ($vo); ?></option><?php endforeach; endif; else: echo "" ;endif; ?>
						</select>
						<select name="typeofinstitution"><option value="-1">院校类型</option>
						<?php if(is_array($yuanxiao)): $i = 0; $__LIST__ = $yuanxiao;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): ++$i;$mod = ($i % 2 )?><option value="<?php echo ($key); ?>"><?php echo ($vo); ?></option><?php endforeach; endif; else: echo "" ;endif; ?></select>
						<select	name="banxue"><option value="-1">办学类型</option>
						<?php if(is_array($banxue)): $i = 0; $__LIST__ = $banxue;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): ++$i;$mod = ($i % 2 )?><option value="<?php echo ($key); ?>"><?php echo ($vo); ?></option><?php endforeach; endif; else: echo "" ;endif; ?>
						</select>
						<!-- 这是神马东西？ -->
						<select disabled="disabled" name=""><option>院校举办者</option></select>
						<select	name="education"><option value="-1">学历层次</option>
						<?php if(is_array($education)): $i = 0; $__LIST__ = $education;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): ++$i;$mod = ($i % 2 )?><option value="<?php echo ($key); ?>"><?php echo ($vo); ?></option><?php endforeach; endif; else: echo "" ;endif; ?>
						</select>
						<input type="image" src="../Public/home/img/yuanxiaoku_02.jpg" />
					</form>
				</span>
			</div>
		</div>


		<div class="left">

			<div class="gxmd">
				<span>高校名单</span>
				<table cellpadding="0" cellspacing="1" border="0" bgcolor="#a2d398">
				<tr>
					<?php if(is_array($address)): $k = 0; $__LIST__ = $address;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): ++$k;$mod = ($k % 11 )?><td><a href="__ACTION__/address/<?php echo ($key); ?>"><?php echo ($vo); ?></a></td>
					<?php if(($mod)  ==  "10"): ?></tr><tr><?php endif; ?><?php endforeach; endif; else: echo "" ;endif; ?>
				</table>
			</div>

			<p class="yx_p">各高校的招生专业数来源于2011年招生计划库（不含军事院校和港澳台高校）</p>

			<div class="xuex">

				<table cellpadding="0" cellspacing="1" border="0" bgcolor="#a2d398">
					<tr>
						<td width="165"><strong>院校名称</strong></td>
						<td width="55"><strong>所在地</strong></td>
						<td width="120"><strong>院校隶属</strong></td>
						<td width="88"><strong>学历层次</strong></td>
						<td width="67"><strong>办学类型</strong></td>
						<td width="69"><strong>院校类型</strong></td>
						<td width="104"><strong>招生专业(全国)</strong></td>
					</tr>
					<?php if(is_array($list)): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): ++$i;$mod = ($i % 2 )?><tr>
						<td><a href="__URL__/content/<?php echo ($vo["id"]); ?>"><span><?php echo ($vo["title"]); ?></span><?php echo ($vo["attach"]); ?></a></td>
						<td><?php echo ($vo["address"]); ?></td>
						<td><?php echo ($vo["belonging"]); ?></td>
						<td><?php echo ($vo["education"]); ?></td>
						<td><?php echo ($vo["schooltype"]); ?></td>
						<td><?php echo ($vo["typeofinstitution"]); ?></td>
						<td><?php echo ($vo["zy"]); ?></td>
					</tr><?php endforeach; endif; else: echo "" ;endif; ?>
					</table>

				<ul class="page">
					<?php echo ($page); ?>
				</ul>

			</div>

		</div>

		<div class="right">

			<div class="yxfl">
				<div class="fl_t">
					<strong><a href="">院校分类</a></strong>
				</div>
				<div class="fl_nr">
					<p class="fl_p1">
						<a href="">教育部直属</a> - <a href="">其它中央部委所属</a> <a href="">地方所属</a>
						- <a href="">本科</a> - <a href="">高职（专科）</a> <a href="">211工程</a> -
						<a href="">985工程</a> - <a href="">有研究生院</a> <a href="">民办</a> - <a
							href="">独立学院</a> - <a href="">示范性高职</a>
					</p>
					<p class="fl_p2">
						<a href="">综合院校</a> - <a href="">工科院校</a> - <a href="">农业院校</a> <a
							href="">林业院校</a> - <a href="">医药院校</a> - <a href="">师范院校</a> <a
							href="">语言院校</a> - <a href="">财经院校</a> - <a href="">政法院校</a> <a
							href="">体育院校</a> - <a href="">艺术院校</a> - <a href="">民族院校</a> 军事院校
					</p>
				</div>
			</div>

			<div class="pic">
				<img src="../Public/home/img/yuanxiaoku_05.jpg" width="230"
					height="120" />
			</div>

			<div class="pic">
				<img src="../Public/home/img/yuanxiaoku_06.jpg" width="230"
					height="120" />
			</div>

			<div class="yxtj">
				<div class="fl_t">
					<strong><a href="">院校推荐</a></strong>
				</div>
				<div class="fl_nr">
					<ul class="uu">
						<li><a href="">北京大学</a></li>
						<li><a href="">清华大学</a></li>
						<li><a href="">北京科技大学</a></li>
						<li><a href="">北京理工大学</a></li>
						<li><a href="">北京化工大学</a></li>
						<li><a href="">中国人民大学</a></li>
						<li><a href="">北京交通大学</a></li>
						<li><a href="">东北大学</a></li>
						<li><a href="">西北工业大学</a></li>
						<li><a href="">东北大学</a></li>
						<li><a href="">北京航空航天大学</a></li>
						<li><a href="">西北工业大学</a></li>

					</ul>
				</div>
			</div>

			<div class="yxtj">
				<div class="fl_t">
					<strong><a href="">院校链接</a></strong>
				</div>
				<div class="fl_nr">
					<ul class="uu">
						<li><a href="">北京大学</a></li>
						<li><a href="">清华大学</a></li>
						<li><a href="">北京科技大学</a></li>
						<li><a href="">北京理工大学</a></li>
						<li><a href="">北京化工大学</a></li>
						<li><a href="">中国人民大学</a></li>
						<li><a href="">北京交通大学</a></li>
						<li><a href="">东北大学</a></li>
						<li><a href="">西北工业大学</a></li>
						<li><a href="">东北大学</a></li>
						<li><a href="">北京航空航天大学</a></li>
						<li><a href="">西北工业大学</a></li>

					</ul>
				</div>
			</div>

		</div>

	</div>

	<!--footer-->
	<div class="footer">

		<ul class="foot">
			<li><a href="/">网站首页</a> |</li>
			<li><a href="/about/" rel="nofollow">关于kuxue</a> |</li>
			<li><a href="/content/" rel="nofollow">联系方式</a> |</li>
			<li><a href="/help/" rel="nofollow">帮助中心</a> |</li>
			<li><a href="/hezuo/" rel="nofollow">网站合作</a> |</li>
			<li><a href="/sitemap/">网站地图</a> |</li>
			<li><a href="/ad/" rel="nofollow">广告服务</a> |</li>
			<li><a href="/index.php?m=link" rel="nofollow">友情链接</a></li>

		</ul>
		<p>
			Copyright &copy; 2005 - 2011 ZH Corporation, All Rights Reserved<br />
			<a href="http://www.miibeian.gov.cn/" target="_blank" rel="nofollow">京ICP备10006292号</a>
			版权所有：kuxue
		</p>

	</div>
	<div style="visibility: hidden;">
		<script type="text/javascript" language="javascript"
			src="/mb_images/js/tongji.js"></script>
		<script type="text/javascript" language="javascript"
			src="/mb_images/js/tongji1.js"></script>

	</div>
</body>
</html>